Optimal. Leaf size=49 \[ -\frac{2 \sqrt{x} (2 A b-a B)}{a^2 \sqrt{a+b x}}-\frac{2 A}{a \sqrt{x} \sqrt{a+b x}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0141708, antiderivative size = 49, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 20, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.1, Rules used = {78, 37} \[ -\frac{2 \sqrt{x} (2 A b-a B)}{a^2 \sqrt{a+b x}}-\frac{2 A}{a \sqrt{x} \sqrt{a+b x}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 78
Rule 37
Rubi steps
\begin{align*} \int \frac{A+B x}{x^{3/2} (a+b x)^{3/2}} \, dx &=-\frac{2 A}{a \sqrt{x} \sqrt{a+b x}}+\frac{\left (2 \left (-A b+\frac{a B}{2}\right )\right ) \int \frac{1}{\sqrt{x} (a+b x)^{3/2}} \, dx}{a}\\ &=-\frac{2 A}{a \sqrt{x} \sqrt{a+b x}}-\frac{2 (2 A b-a B) \sqrt{x}}{a^2 \sqrt{a+b x}}\\ \end{align*}
Mathematica [A] time = 0.0131705, size = 33, normalized size = 0.67 \[ \frac{2 (-a A+a B x-2 A b x)}{a^2 \sqrt{x} \sqrt{a+b x}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.004, size = 30, normalized size = 0.6 \begin{align*} -2\,{\frac{2\,Abx-Bax+Aa}{{a}^{2}\sqrt{x}\sqrt{bx+a}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.59114, size = 74, normalized size = 1.51 \begin{align*} \frac{2 \, B x}{\sqrt{b x^{2} + a x} a} - \frac{4 \, A b x}{\sqrt{b x^{2} + a x} a^{2}} - \frac{2 \, A}{\sqrt{b x^{2} + a x} a} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 2.76873, size = 95, normalized size = 1.94 \begin{align*} -\frac{2 \,{\left (A a -{\left (B a - 2 \, A b\right )} x\right )} \sqrt{b x + a} \sqrt{x}}{a^{2} b x^{2} + a^{3} x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 41.183, size = 63, normalized size = 1.29 \begin{align*} A \left (- \frac{2}{a \sqrt{b} x \sqrt{\frac{a}{b x} + 1}} - \frac{4 \sqrt{b}}{a^{2} \sqrt{\frac{a}{b x} + 1}}\right ) + \frac{2 B}{a \sqrt{b} \sqrt{\frac{a}{b x} + 1}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] time = 1.23397, size = 126, normalized size = 2.57 \begin{align*} -\frac{2 \, \sqrt{b x + a} A b^{2}}{\sqrt{{\left (b x + a\right )} b - a b} a^{2}{\left | b \right |}} + \frac{4 \,{\left (B a b^{\frac{3}{2}} - A b^{\frac{5}{2}}\right )}}{{\left ({\left (\sqrt{b x + a} \sqrt{b} - \sqrt{{\left (b x + a\right )} b - a b}\right )}^{2} + a b\right )} a{\left | b \right |}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]